Hello everyone!
I need to be in THREE.InstancedMesh When I have created tens of thousands of instances, I need to dynamically crop and display the number of visible instances according to the camera cone. At present, the camera cone judgment has worked well, but there is a problem in dynamically modifying the number of instances Previously, using InstancedBufferGeometry to set the instanceCount property can dynamically control the number of current renderings. On InstancedMesh, I have tried to modify the updateRange of BufferAttribute. It seems that it doesn’t work properly. Is there any other API or how I can improve it?
Please help me!
Thank you very much!!!
|